package com.igroupes.ovineherd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 模型关系
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@TableName(value = "data_model_relationship",autoResultMap = true)
public class DataModelRelationshipEntity extends BaseEntity{
    @TableId(type = IdType.AUTO)
    private Long id;
    Long sourceTableId;
    Long sourceAttributeId;
    Long targetTableId;
    Long targetAttributeId;
    Integer sourceType;
    Integer targetType;
    Long versionId;
}
